/**
 * 
 */
package com.alkandros.linesmash.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.alkandros.linesmash.R;
import com.alkandros.linesmash.location.ILocationCallBack;

/**
 * @author Jiju Induchoodan
 *
 */
public class OrderReceipt extends BaseActivity implements ILocationCallBack {

	private TextView txtBottomRight;
	private TextView txtBottomLeft;
	private TextView txtBottomSubtotal;
	private TextView txtBottomSubTotalAmount;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.order_receipt);
		initialiseUI();
	}
	
	private void initialiseUI()
	{
		setHeading(R.string.order_receipt);
		setLeftButton();
		setRightButton();
		txtBottomRight					= (TextView)findViewById(R.id.right_button);
		txtBottomLeft					= (TextView)findViewById(R.id.left_button);
		txtBottomSubtotal				= (TextView)findViewById(R.id.subtotal);
		txtBottomSubTotalAmount			= (TextView)findViewById(R.id.subtotal_amount);
	    
		txtBottomRight.setText(R.string.place_another_order);
	    
	    txtBottomLeft.setVisibility(View.VISIBLE);
	    txtBottomSubtotal.setVisibility(View.GONE);
	    txtBottomSubTotalAmount.setVisibility(View.GONE);
	}

	/* (non-Javadoc)
	 * @see com.alkandros.linesmash.location.ILocationCallBack#setResult(java.lang.String)
	 */
	@Override
	public void setResult(String address) {
		// TODO Auto-generated method stub
		
	}
	

}
